<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html class="pixel-ratio-1">
<head>
<title>游戏代理后台</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no">

<meta name="description" content="">

<link rel="stylesheet" href="templates/default/skins/default/h5/lib/weui.min.css">
<link rel="stylesheet" href="templates/default/skins/default/h5/css/jquery-weui.css">
<link rel="stylesheet" href="templates/default/skins/default/h5/css/lehe.css">

</head>

<body ontouchstart="">
	<div class="weui-tab">
		<div class="weui-tab__bd">
			<div id="tab1" class="weui-tab__bd-item weui-tab__bd-item--active">
				<header class="lehe-header">
				<div class="lehe_center">
					<img class="head_image" src="${userInfo.userImg}" alt="">
				</div>
				<h1 class="lehe-title">${userInfo.nickName}</h1>
				<div class="lehe_center">
					<span class="lehe-sub-title">玩家ID:</span> <span
						class="lehe-sub-title-info">${userInfo.userId}(
						<c:if test="${userInfo.utype == 0}">普通玩家</c:if>
						<c:if test="${userInfo.utype == 1}">代理玩家</c:if>
						)</span>
				</div>
				<%--
				<div class="lehe_center">
					<span class="lehe-sub-title">今日总入库:</span>
					<span class="lehe-sub-title-info"><fmt:formatNumber value="${userInfo.addGold}" pattern="#0.00" />元</span>
					<span class="lehe-sub-title">今日总出库:</span>
					<span class="lehe-sub-title-info"><fmt:formatNumber value="${userInfo.subGold}" pattern="#0.00" />元</span>
				</div>
				 --%>
				<div class="lehe_center">
					<span class="lehe-sub-title">当前总分:</span>
					<span class="lehe-sub-title-info">${userInfo.score==null?0:userInfo.score}</span>
				</div>
				</header>

				<div class="weui-grids" style="margin-bottom: 51px;">
					<a href="xh_wx/xh_goldDetail"
						class="weui-grid js_grid" style="height: 140px;">
						<div class="weui-grid__icon" style="width: 80px; height: 80px;">
							<img src="upload/icon_pay.png" alt="">
						</div>
						<p class="weui-grid__label">分数明细</p>
						<%--<p class="weui-grid__label">(${userInfo.myPayCount+userInfo.myPlayerPayCount+userInfo.myAngentPayCount})</p>--%>
					</a>
					<a href="xh_wx/xh_childList"
						class="weui-grid js_grid" style="height: 140px;">
						<div class="weui-grid__icon" style="width: 80px; height: 80px;">
							<img src="upload/icon_player.png" alt="">
						</div>
						<p class="weui-grid__label">我的下属</p>
						<%--<p class="weui-grid__label">(${userInfo.myPlayerPayCount})</p>--%>
					</a>
					<a href="agent"
						class="weui-grid js_grid" style="height: 140px;">
						<div class="weui-grid__icon" style="width: 80px; height: 80px;">
							<img src="upload/icon_auth.png" alt="">
						</div>
						<p class="weui-grid__label">代理商授权</p>
					</a>
					<a href="xh_wx/xh_applyDetail"
						class="weui-grid js_grid" style="height: 140px;">
						<div class="weui-grid__icon" style="width: 80px; height: 80px;">
							<img src="upload/icon_auth.png" alt="">
						</div>
						<p class="weui-grid__label">代理申请审核</p>
					</a>
				</div>
			</div>
			<div id="tab2" class="weui-tab__bd-item">
				<h1 class="lehe-title" style="text-align:left">商城施工中，购买请联系客服</h1>
			</div>
			<div id="tab3" class="weui-tab__bd-item">
				<header class="lehe-header">
					<div class="page__bd">
						<article class="weui-article">
							<h1 class="lehe-title1">敬请期待</h1>
						</article>
					</div>
				</header>
			</div>
			<div id="tab4" class="weui-tab__bd-item">
				<header class="lehe-header">
					<div class="page__bd">
						<article class="weui-article">
							<h1 class="lehe-title1">敬请期待</h1>
						</article>
					</div>
				</header>
			</div>
		</div>

		<div class="weui-tabbar">
			<a href="#tab1" class="weui-tabbar__item weui-bar__item--on">
				<div class="weui-tabbar__icon">
					<img
						src="templates/default/skins/default/h5/images/icon_nav_button.png"
						alt="">
				</div>
				<p class="weui-tabbar__label">首页</p>
			</a>
			
			<a href="#tab3" class="weui-tabbar__item">
				<div class="weui-tabbar__icon">
					<img
						src="templates/default/skins/default/h5/images/icon_nav_article.png"
						alt="">
				</div>
				<p class="weui-tabbar__label">活动</p>
			</a>
			<a href="#tab4" class="weui-tabbar__item">
				<div class="weui-tabbar__icon">
					<img
						src="templates/default/skins/default/h5/images/icon_nav_cell.png"
						alt="">
				</div>
				<p class="weui-tabbar__label">关于</p>
			</a>
		</div>
	</div>

	<script src="templates/default/skins/default/h5/lib/jquery-2.1.4.js"></script>
	<script src="templates/default/skins/default/h5/lib/fastclick.js"></script>
	<script>
		$(function() {
			FastClick.attach(document.body);
		});
	</script>
	<script src="templates/default/skins/default/h5/js/jquery-weui.js"></script>

</body>
</html>